package com.shaw.client;

import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("MailService")
public interface MailService extends RemoteService {
	/**
	 * Utility class for simplifying access to the instance of async service.
	 */
	
	public boolean isLoginBoolean(String username,String password);
	public static class Util {
		private static MailServiceAsync instance;
		public static MailServiceAsync getInstance(){
			if (instance == null) {
				instance = GWT.create(MailService.class);
			}
			return instance;
		}
	}
}
